import Vue from 'vue'
import Router from 'vue-router'
import HelloWorld from '@/components/HelloWorld'
import  Mytable  from '@/components/Mytable'
import  MyFamock from '@/components/MyFamock'

Vue.use(Router)

export default new Router({
  routes: [
    {
      path: '/',
      name: 'HelloWorld',
      component: HelloWorld
    },{
      path: '/mytable',
      name: 'Mytable',
      component: Mytable
    },{
      path: '/myFamock',
      name: 'MyFamock',
      component: MyFamock
    }
  ]
})
